package DBLayer;

import java.util.ArrayList;

import ModelLayer.SalesOrder;

public interface IfDbSaleOrder
{
	public ArrayList<SalesOrder> getAllSaleOrders(boolean retriveAssociation);

    public SalesOrder findSalesOrderByOrderNr(int orderNr, boolean retriveAssociation);

    public int insertSalesOrder(SalesOrder salesorder) throws Exception;

    public int updateSalesOrder(SalesOrder salesorder);
    
    public int deleteSalesOrder(int orderNr);
    
    
}
